Skip to content

Add a lighter Active Agents restart path in VS Code#383

Merged
NagyVikt merged 2 commits intomainfrom
agent/codex/vscode-active-agents-subrepo-path-labels-2026-04-23-16-46
Apr 23, 2026
Merged

Add a lighter Active Agents restart path in VS Code#383
NagyVikt merged 2 commits intomainfrom
agent/codex/vscode-active-agents-subrepo-path-labels-2026-04-23-16-46

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

NagyVikt added 2 commits April 23, 2026 17:04
Operators scanning a parent workspace need the repo row to show the actual active subproject path, not only the parent repo label. This switches nested repo labels to slash-delimited workspace-relative paths and promotes a shared session projectPath onto the repo row when every visible lane targets the same subproject.

Constraint: Keep existing session discovery and project grouping behavior unchanged

Rejected: Rebuild the tree hierarchy around synthetic repo nodes | wider tree churn than needed for the label-only ask

Confidence: high

Scope-risk: narrow

Directive: Keep top-level repo label promotion limited to the single-shared-project case unless the tree grouping model is redesigned

Tested: node --test test/vscode-active-agents-session-state.test.js; openspec validate agent-codex-vscode-active-agents-subrepo-path-labels-2026-04-23-16-46 --type change --strict; openspec validate --specs; npm test

Not-tested: Manual VS Code sidebar verification in a live recodee parent workspace
This adds a Restart Active Agents command that restarts the extension host and surfaces it from the extension gear menu and the Active Agents view title, giving operators a faster restart path than reloading the whole window.

Constraint: VS Code exposes extension context-menu contributions but not a custom action slot beside the built-in Disable and Uninstall buttons
Rejected: Keep using Reload Window only | heavier than needed during Active Agents development and iteration
Confidence: high
Scope-risk: narrow
Directive: Keep extension-management restart affordances scoped to the Active Agents extension id so unrelated extensions do not show this command
Tested: node --test test/vscode-active-agents-session-state.test.js; openspec validate agent-codex-vscode-active-agents-subrepo-path-labels-2026-04-23-16-46 --type change --strict; openspec validate --specs
Not-tested: Manual VS Code click-through on the extension details gear menu
@NagyVikt NagyVikt merged commit a03e442 into main Apr 23, 2026
@NagyVikt NagyVikt deleted the agent/codex/vscode-active-agents-subrepo-path-labels-2026-04-23-16-46 branch April 23, 2026 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant